package mysql

import "gorm.io/gorm"

type Hotel struct {
	gorm.Model
	Username  string `gorm:"type:varchar(20);not null"`
	Password  string `gorm:"type:varchar(32);not null"`
	Tel       string `gorm:"type:char(11);not null"`
	Img       string `gorm:"type:varchar(200);not null;"`
	VipName   string `gorm:"type:varchar(30);not null;"`
	Sex       string `gorm:"type:enum('女','男');not null;"`
	NickName  string `gorm:"type:varchar(20);not null;"`
	Signature string `gorm:"type:varchar(255);not null;"`
}
